package pumpeddevs.game.framework;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;

public class PDDB extends SQLiteOpenHelper{
	
	private static PDDB _instance;
	private static final String DATABASE_NAME = "fdgh5drg.db";
	private static final int DATABASE_VERSION = 1;
	
	private PDDB(Context context, String name, CursorFactory factory, int version) {
		super(context, name, factory, version);
	}
	
	private PDDB(Context context) {
		super(context, DATABASE_NAME, null, DATABASE_VERSION);
	}
	
	public static PDDB getInstance(Context context) {
		if(PDDB._instance == null) 
			PDDB._instance = new PDDB(context);
		return PDDB._instance;
	}
	
	@Override
	public void onCreate(SQLiteDatabase db) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		// TODO Auto-generated method stub
		
	}
}
